<?php
/**
 * @copyright meila.com
 * @author wangtao5@
 * @name
 * @param
 */

class ml_model_album_mcWeiboShare extends Lib_cache_mc
{
    public function __construct()
    {
        $server = ml_factory::load_standard_conf('mc');
        $this->init_cache(0,4);
        $this->connect($server['weiboshare']);
    }
    /**
     * 获取pvdb里的分享数
     *
     * @param char $pid
     * @return unknown
     */
    public function getShare($pid) {
        $data = $this->get($pid);
        return $data;
    }
}
?>